#pragma once

#include "../_inc_app/CtrlButton.h"

// CWndPbSpeed

class CWndPbSpeed : public CWnd
{
	DECLARE_DYNAMIC(CWndPbSpeed)

private:
	int			m_nPbSpeed;
	RECT		m_rcSpeed[5];

	CCtrlButton	m_btnSlower;
	CCtrlButton m_btnFaster;

	int m_nMode;

public:
	CWndPbSpeed();
	virtual ~CWndPbSpeed();

	void UpdatePbSpeed();
	void SetPbSpeed(int nPbSpeed);

protected:
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnSize(UINT nType, int cx, int cy);
	afx_msg void OnPaint();
	afx_msg long OnCtlMessage(UINT wParam, LONG lParam);
	DECLARE_MESSAGE_MAP()

public:	
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
};


